package com.kordar.api.modular.unicomJS;

import com.alibaba.fastjson.JSONObject;

public interface Request {
    default JSONObject head() {
        JSONObject object = new JSONObject();
        String timestamp = SysParams.getTimestamp();
        String uuid = SysParams.getUUID();
        object.put(SysParams.SYS_UUID.getCode(), uuid);
        object.put(SysParams.SYS_TIME_STAMP.getCode(), timestamp);
        object.put(SysParams.SYS_SIGN.getCode(), SysParams.getSign(timestamp, uuid));
        return object;
    }
    JSONObject body();
    String url();
}
